<template>
    <div class="app-container">
      <el-table
        :data="list"
        style="width: 100%">
        <el-table-column
          prop="date"
          :label="labels[0]"
          width="180">
        </el-table-column>
        <!--<el-table-column
          prop="name"
          label="姓名"
          width="180">
        </el-table-column>
        <el-table-column
          prop="address"
          label="地址">
        </el-table-column>-->
      </el-table>
    </div>
</template>

<script>
  import {collegeBuildingSta} from "@/api/stu/stu";
  export default {
        name: "index",
      created() {
          this.getList()
      },
      data(){
          return{
            list:[],
            labels:['宿舍']
          }
      },
      methods:{
        getList(){
          collegeBuildingSta({schoolArea:1}).then(res=>{

          })
        }
      }
    }
</script>

<style scoped>

</style>
